import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {GooTypeLevel2Component} from './goo-type-level2.component';

const routes: Routes = [
    {path: '', component: GooTypeLevel2Component,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-goo-type-level2/add-goo-type-level2.module#AddGooTypeLevel2Module'},
            {path: 'list', loadChildren: './list-goo-type-level2/list-goo-type-level2.module#ListGooTypeLevel2Module'},
            {path: 'modify', loadChildren: './modify-goo-type-level2/modify-goo-type-level2.module#ModifyGooTypeLevel2Module'},
            {path: 'report', loadChildren: './report-goo-type-level2/report-goo-type-level2.module#ReportGooTypeLevel2Module'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class GooTypeLevel2RoutingModule {
}
